from typing import Callable

g: Callable[<error descr="'Callable' first parameter must be a parameter expression">(int<caret>, str)</error>, str]